# conding = utf-8

# 每个json数据都一样吗？，登录和客户查询返回的json都是一样
import json as toJSON


class MockRes():

    def __init__(self, text, status_code=200):
        self.status_code = status_code
        self.text = text

    def json(self):
        return toJSON.loads(self.text)
